package com.aSemy.qotwReader.core.parseInput.exceptions;

/**
 * If a command is missing an argument, this exception is thrown.
 * @author Adam Semenenko
 */
public class MissingArgumentException extends Exception
{
    /** Eclipse made me do this I don't know what it does but it stops Eclipse from complaining. */
    private static final long serialVersionUID = -3670744364631180037L;

    /**
     * This Exception is for when a command is missing an argument.
     * 
     * @param message The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
     */
    public MissingArgumentException(String message)
    {
        super("Could not find argument for command " + message);
    }
}
